<style lang="scss" scoped></style>

<template>
  <div class="root-page">
    <div>{{ token }}</div>
    <button @click="signOut" class="btn">退出</button>
  </div>
</template>

<script lang="ts" setup>
const { signOut } = useUser()
const { token } = storeToRefs(useUser())
</script>
